﻿using Entity.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.Room
{
    public class RoomInfo:BaseEntity
    {
        /// <summary>
        /// 客房名称
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string Name { get; set; }
        /// <summary>
        /// 客房种类
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string TypeId { get; set; }
        /// <summary>
        /// 客房状态
        /// </summary>
        public RoomStatusEnum  Status{ get; set; }

        /// <summary>
        /// 客房价格
        /// </summary>
        [Column(TypeName = "Money")]
        public Decimal Price { get; set; }
        /// <summary>
        /// 客房添加时间
        /// </summary>
        public DateTime AddDate { get; set; }
        /// <summary>
        /// 客房图片名字
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string ImageName { get; set; }
        /// <summary>
        /// 楼层Id
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string FloorId { get; set; }
    }
}
